
# Make default symlink for xinitrc-dwm if 'xinitrc' does not exist,
# or if 'xinitrc' is a dangling symlink

if test ! -e etc/X11/xinit/xinitrc || {
   test -L etc/X11/xinit/xinitrc && test ! -e etc/X11/xinit/xinitrc
}
then
    cd etc/X11/xinit && ln -sf xinitrc-dwm xinitrc
fi

